package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 货代公司对象 dic_agent
 *
 * @author xuefk
 * @date 2023-04-14
 */
@NoArgsConstructor
public class DicAgent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 代理人编码 */
    @Excel(name = "代理人编码")
    private String agentCode;

    /** 机场三字码 */
    @Excel(name = "机场三字码")
    private String airportCode;

    /** 代理人名称 */
    @Excel(name = "代理人名称")
    private String nameFull;

    /** 账号状态    0有效   1 无效 */
    @Excel(name = "账号状态    0有效   1 无效")
    private String activeStatus;

    /** 舱单传输人 */
    @Excel(name = "舱单传输人")
    private String manifestSender;

    /** 业务联系人 */
    @Excel(name = "业务联系人")
    private String businessName;

    /** 业务联系电话 */
    @Excel(name = "业务联系电话")
    private String businessTel;

    /** 财务联系人 */
    @Excel(name = "财务联系人")
    private String financeName;

    /** 财务联系电话 */
    @Excel(name = "财务联系电话")
    private String financeTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String address;

    /** 海关库位编号 */
    @Excel(name = "海关库位编号")
    private String customsLib;


    /** 货代公司机场配置信息 */
    private List<DicAgentAirportcode> dicAgentAirportcodeList;

    /** 机场名称列表 */
    private List<String> airportNames;

    public List<String> getAirportNames() {
        return airportNames;
    }

    public void setAirportNames(List<String> airportNames) {
        this.airportNames = airportNames;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAgentCode(String agentCode)
    {
        this.agentCode = agentCode;
    }

    public String getAgentCode()
    {
        return agentCode;
    }
    public void setAirportCode(String airportCode)
    {
        this.airportCode = airportCode;
    }

    public String getAirportCode()
    {
        return airportCode;
    }
    public void setNameFull(String nameFull)
    {
        this.nameFull = nameFull;
    }

    public String getNameFull()
    {
        return nameFull;
    }
    public void setActiveStatus(String activeStatus)
    {
        this.activeStatus = activeStatus;
    }

    public String getActiveStatus()
    {
        return activeStatus;
    }
    public void setManifestSender(String manifestSender)
    {
        this.manifestSender = manifestSender;
    }

    public String getManifestSender()
    {
        return manifestSender;
    }
    public void setBusinessName(String businessName)
    {
        this.businessName = businessName;
    }

    public String getBusinessName()
    {
        return businessName;
    }
    public void setBusinessTel(String businessTel)
    {
        this.businessTel = businessTel;
    }

    public String getBusinessTel()
    {
        return businessTel;
    }
    public void setFinanceName(String financeName)
    {
        this.financeName = financeName;
    }

    public String getFinanceName()
    {
        return financeName;
    }
    public void setFinanceTel(String financeTel)
    {
        this.financeTel = financeTel;
    }

    public String getFinanceTel()
    {
        return financeTel;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setCustomsLib(String customsLib)
    {
        this.customsLib = customsLib;
    }

    public String getCustomsLib()
    {
        return customsLib;
    }

    public List<DicAgentAirportcode> getDicAgentAirportcodeList()
    {
        return dicAgentAirportcodeList;
    }

    public void setDicAgentAirportcodeList(List<DicAgentAirportcode> dicAgentAirportcodeList)
    {
        this.dicAgentAirportcodeList = dicAgentAirportcodeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("agentCode", getAgentCode())
                .append("airportCode", getAirportCode())
                .append("nameFull", getNameFull())
                .append("activeStatus", getActiveStatus())
                .append("manifestSender", getManifestSender())
                .append("businessName", getBusinessName())
                .append("businessTel", getBusinessTel())
                .append("financeName", getFinanceName())
                .append("financeTel", getFinanceTel())
                .append("email", getEmail())
                .append("address", getAddress())
                .append("customsLib", getCustomsLib())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("dicAgentAirportcodeList", getDicAgentAirportcodeList())
                .toString();
    }
}
